<?php

return function ($oRes) {
    if (FALSE) {
        $cards = array();
        $cards[] = array('title' => '用户总数', 'value1' => 0);
        $cards[] = array('title' => '隔日留存', 'value1' => 12, 'value2' => 21.02);
        $cards[] = array('title' => '七日留存', 'value1' => 123, 'value2' => 21.02);
        $cards[] = array('title' => '30日留存', 'value1' => 1234, 'value2' => 21.02);
        $oRes->data('cards_user', $cards);
    }
    if (FALSE) {
        $cards = array();
        $cards[] = array('title' => '主播总数', 'value1' => 0);
        $cards[] = array('title' => '在线主播', 'value1' => 0);
        $cards[] = array('title' => '主播次数', 'value1' => 0);
        $cards[] = array('title' => '直播时长', 'value1' => 0);
        $oRes->data('cards_zhubo', $cards);
    }
};
